<template>
	<uv-popup ref="popup">
		<view class="pop_box">
			<button
				style="width: 100rpx;height:100rpx; padding:0;margin: 0;background: transparent;border:none;"
				open-type="share">
				
					<u-image width='40rpx' height='40rpx'
						src='/static/img/fx01.png'></u-image>
						<u-text text='分享到微信' size='24rpx' color='#999' align='center' margin='15rpx 0 0 0' />
				
			</button>
			<button
				style="width: 100rpx;height:100rpx; padding:0;margin: 0;background: transparent;border:none;"
				>
				
					<u-image width='40rpx' height='40rpx'
						src='/static/img/fx02.png'></u-image>
						<u-text text='分享到朋友圈' size='24rpx' color='#999' align='center' margin='15rpx 0 0 0' />
				
			</button>
			
			<button
				style="width: 100rpx;height:100rpx; padding:0;margin: 0;background: transparent;border:none;"
				>
				
					<u-image width='40rpx' height='40rpx'
						src='/static/img/fx02.png'></u-image>
						<u-text text='保存海报' size='24rpx' color='#999' align='center' margin='15rpx 0 0 0' />
				
			</button>
			
		</view>
		<!-- <div-card >
				<div-flex left>
					<div-card @click="shareShow=false">
						<div-flex center>
							<button
								style="width: 100rpx;height:100rpx; padding:0;margin: 0;background: transparent;border:none;"
								open-type="share">
								<div-card bg='#fff' radius='14rpx'>
									<u-image width='40rpx' height='40rpx'
										:src='require(`@/static/img/fx01.png`)'></u-image>
								</div-card>
							</button>
						</div-flex>
						<u-text text='分享到微信' size='24rpx' color='#999' align='center' margin='15rpx 0 0 0' />
					</div-card>
					<div-card @click="overlay_show=true;shareShow=false" margin="0 10rpx 0 0">
						<div-flex center>
							<div-card bg='#fff' radius='14rpx'>
								<u-image width='40rpx' height='40rpx' :src='require(`@/static/img/fx02.png`)'></u-image>
							</div-card>
						</div-flex>
						<u-text text='分享到朋友圈' size='24rpx' color='#999' align='center' margin='15rpx 0 0 0' />
					</div-card>
					<div-card @click="$fun.go_to('index/good/good_poster',id);shareShow=false">
						<div-flex center>
							<div-card bg='#fff' radius='14rpx'>
								<u-image width='40rpx' height='40rpx' :src='require(`@/static/img/fx03.png`)'></u-image>
							</div-card>
						</div-flex>
						<u-text text='保存海报' size='24rpx' color='#999' align='center' margin='15rpx 0 0 0' />
					</div-card>
				</div-flex>
			</div-card>

		

			<u-line></u-line>

			<div-card bg='#fff' @click="shareShow=false">
				<div-flex center>
					<u-text text='取消分享' size='26rpx' color='#666'></u-text>
				</div-flex>
			</div-card> -->

	</uv-popup>
	<!-- 弹窗(中奖)结束 -->
</template>
<script lang="ts" setup>
	import { ref, defineEmits, defineProps } from 'vue';
	import { onLoad } from '@dcloudio/uni-app';
	import { http, apiPath } from '@/common/http/index';
	import { toast } from '@/utils/fun';
	const emit = defineEmits(['onConfirm']);

	// 使用defineProps定义接收的props defineProps,
	const props = defineProps({
		id: {
			type: Number,
			default: 0
		},
	});

	const popup = ref();
	const open = () => {
		score.value = props.score;
		popup.value.open();
		console.log('内部打开', score.value)

	};
	defineExpose({ open });

	onLoad(() => {

	});
</script>
<style lang="scss" scoped>
	.pop_box {
		// backg
	// bg='#f8f8f8' radius='14rpx' padding="0 30rpx"
	}
</style>